﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hangjing.DBUtility;

namespace Hangjing.SQLServerDAL
{
    /// <summary>
    /// TODO
    /// </summary>
    public class DBConfig
    {
        public static String UserCenterDBKey = SQLHelper.ConnectionString;

        public static String MasterDBKey = SQLHelper.ConnectionString;


        public static DbConnection GetUserCenterDb()
        {
            return new SqlConnection(UserCenterDBKey);
        }

        public static DbConnection GetLingshiDb()
        {
            return new SqlConnection(MasterDBKey);

        }
    }
}
